<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>问卷调查表单</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<div>
		<form action="showResult.jsp" method="post">
			<h1>问卷调查</h1>
			<p>
				用户名：<input type="text" name="username" />
			</p>
			<p>
				密码：<input type="password" name="password" />
			</p>
			<p>
				爱好： <input type="checkbox" name="interest" value="Reading" />看书 <input
					type="checkbox" name="interests" value="PlayGames" />玩游戏 <input
					type="checkbox" name="interests" value="Travelling" />旅游 <input
					type="checkbox" name="interests" value="Swimming" />游泳 <input
					type="checkbox" name="interests" value="WatchingTv" />看电视
			</p>
			<p>
				<input type="submit" value="提交" />
			</p>
		</form>
	</div>
</body>
</html>
